"""Added available_for_self_pickup to PaymentDetails

Revision ID: f86e9c7be403
Revises: 4ea3e1ee37ba
Create Date: 2024-01-22 14:44:25.120768

"""
import sqlalchemy as sa
from alembic import op

# revision identifiers, used by Alembic.
revision = "f86e9c7be403"
down_revision = "4ea3e1ee37ba"
branch_labels = None
depends_on = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column(
        "payment_details",
        sa.Column("available_for_self_pickup", sa.Boolean(), server_default=sa.text("true"), nullable=False),
    )
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column("payment_details", "available_for_self_pickup")
    # ### end Alembic commands ###
